package com.latvia.utils;

public class Enums {
	public enum MenuItem {
		ALL_CATEGORIES(0), FAVOURITE(1), FRIENDS(2), MY_COOKING(3), COOK_LATER(
				4), ABOUT(5), QUIT(6);
		private int value;

		private MenuItem(int value) {
			this.value = value;
		}

		public static MenuItem getMenuItemByPosition(int position) {
			MenuItem[] values = MenuItem.values();
			return values[position];
		}

	}

}
